package top.stacktrace.gateway.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import reactor.core.publisher.Mono;
import top.stacktrace.account.domain.LoginVo;
import top.stacktrace.account.domain.User;

@FeignClient(name = "account")
public interface AccountFeign {
    @PostMapping("/checklogin")
    public User checkLogin(@RequestBody LoginVo v);
}
